home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG Library 8 / PC-SIG Library CD-ROM (8th Edition) (1990-04).iso / 2001_100 / disk2048 / example.doc < prev    next >
Encoding:
Text File  |  1986-12-21  |  2.4 KB  |  39 lines

  1. This document will give you an idea as to how PMACRO works and how it will
  2. make your printer be more productive.  It is being written with an editor
  3. that has no printer control commands.  All control codes that eventually
  4. reach the printer will be as a result of PMACRO.  The control codes
  5. that I will use are in the file "FX80MAC.PRN", which was created with PMACRO.
  6. Since that file is for an Epson FX80 printer, you will have to load it into
  7. PMACRO and redo the control codes if you have a different printer.  You would
  8. then execute RPMACRO, passing either FX80MAC.PRN or the file you created as
  9. a command line argument.  Once RPMACRO is resident in RAM, simply enter at the
  10. DOS prompt "type example.doc > prn" and press the return key.  Compare the
  11. output from the printer with this file and you will understand what PMACRO can
  12. do for you.  Now let's show you what PMACRO can do.
  13.  
  14. It is impossible for some word processors (Wordstar, for instance) to switch
  15. to Italics inside a document.  With PMACRO, it's as easy as this:
  16. ~italic on~This text is now being printed in italics.  Let's change back to regular
  17. print now.~italic off~  How about some underlining??  Simply surround the descriptive
  18. phrase that you set up in PMACRO with the trigger key, and you have
  19. underlining! ~ul on~ And this is what you get.~ul off~  Have you ever wanted to switch to
  20. compressed mode from within a document?  That's easy too!
  21.  
  22. ~comp on~Here is an example of what that would look like.  Any mode that is supported
  23. by your printer can be accessed.  You are no longer at the mercy of your word
  24. processor.  Now, back to standard print.~comp off~
  25.  
  26. Printers are getting more sophisticated all the time.  New laser printers
  27. with many different fonts are hitting the market.  However, these new features
  28. can not be used until the word processor manufacturers support the new control
  29. codes - until now.  PMACRO will allow you to send any control code (25 
  30. characters in length or less) to any printer.
  31.  
  32. Note that if you put a phrase that is not in the file in your document, it
  33. will print out normally.  Like this - ~elite on~
  34. Also note that if you forget to include the ending trigger character, no
  35. control codes will be sent to the printer.  Instead the text will appear
  36. as is.  ~elite offThis should make it simple for you to debug any problems you might
  37. encounter.  In short, if the sequence prints out, something is wrong and
  38. your phrase is not getting translated.
  39.